package com.kwok.openplatform.dao;

import com.kwok.openplatform.entity.Router;

import java.util.List;

/**
 * 路由表(Router)表数据库访问层
 *
 * @author Kwok
 * @since 2024-07-21 18:31:38
 */
public interface RouterDao {

    //插入路由
    Integer insertRouter(Router router);

    //查询所有路由
    List<Router> selectRouters(Router router);

    //通过ID修改更新路由
    Integer updateRouterById(Router router);

    //通过ID删除路由
    Integer deleteRouterById(Integer id);

    //通过ID批量删除路由
    Integer batchDeleteRouterById(Integer... ids);

}

